dct = {'a': 1, 'b': 2, 'c': 3}

# 查不到会报错
print(dct['a'])

# 查不到会返回空值
print(dct.get('b'))
